package com.diligent.cloud.sfc.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * OperationCompleteParams class
 *
 * @author xf107278
 * @date 5/9/2020
 */
@Data
@ToString
@AllArgsConstructor
@ApiModel(value = "工序报数参数", description = "工序报数参数")
public class OperationCompleteParams {
    @ApiModelProperty(value = "工单号")
    private String woOrder;

    @ApiModelProperty(value = "完工数")
    private BigDecimal digit;

    @ApiModelProperty(value = "计划数")
    private BigDecimal baseDigit;

    @ApiModelProperty(value = "合格数")
    private BigDecimal InvDigit;

    @ApiModelProperty(value = "缺陷原因")
    private String defectName;

    @ApiModelProperty(value = "缺陷数量")
    private BigDecimal defectDigit;

    @ApiModelProperty(value = "报废原因")
    private String scrapName;

    @ApiModelProperty(value = "报废数量")
    private BigDecimal scrapDigit;

}
